package com.hare.common.global.enums;

/**
 * @program: Hare
 * @description: 用户枚举
 * @author: Hare
 * @create: 2022-06-19 16:32
 * @Version 6.0.1
 **/
public enum UserEnum {

    NORMAL(0, "正常"),
    DEACTIVATE(1, "停用"),
    DELETED(2, "删除");

    private Integer code;
    private String value;

    UserEnum(Integer code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
